package fangzhiyi.practice;

/**
 * @author fangzhiyi
 * @version 1.0
 * @date 2025/3/20 11:29
 * @description
 */
 class Manager extends Coder{
    private double bonus;

    public Manager() {
        super();
    }

    public Manager(String name, String id, double money, double bonus) {
        super(name, id, money);
        this.bonus = bonus;
    }

    public void Work(){
        System.out.println("姓名"+name+",工号"+id+",工资"+money+",奖金"+bonus);
    }
}
